<template>
  <div>
    <van-nav-bar title="筛选" left-text="返回" left-arrow @click-left="onClickLeft" />
    <van-tag v-if="show" closeable size="large" type="primary" @close="close">风景</van-tag>
      <van-tag v-if="show" closeable size="large" type="primary" @close="close">人物</van-tag>
        <van-tag v-if="show" closeable size="large" type="primary" @close="close">动物</van-tag>
         <van-tag v-if="show" closeable size="large" type="primary" @close="close">动漫</van-tag>
           <van-tag v-if="show" closeable size="large" type="primary" @close="close">动漫</van-tag>
           <van-tag v-if="show" closeable size="large" type="primary" @close="close">动漫</van-tag>
           
  </div>
</template>

<script>
import { Toast } from "vant";

export default {
  data() {
    return {
      show: true,
    };
  },
  methods: {
    onClickLeft() {
      this.$router.push("/mycenter");
    },
    close() {
      this.show = false;
    },
  },
};
</script>

<style>
.van-tag {
    margin:2vh 3vw;
}
</style>
